package com.dahua.evo.business.controller;


import com.dahua.evo.business.service.TUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author test@company.com
 * @since 2020-11-22
 */
@RestController
@RequestMapping("/tUser")
public class TUserController {
       @Autowired
    TUserService tUserService;
    @GetMapping("/getAllUser")
    @ResponseBody
    public List getHello() {
        List list=tUserService.list();
        return list;
    }
}

